import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'
import ElementUi from 'element-uI'
import 'element-ui/lib/theme-chalk/index.css'

// axios配置
Vue.prototype.$axios = axios
axios.defaults.baseURL="/api"
axios.defaults.responseType="application/json"
axios.defaults.responseEncoding="utf-8"

Vue.use(ElementUi)

Vue.config.productionTip = false

new Vue({
  el:'#app',
  render: h => h(App),
})
